<?php
function convertTextFromEditor($text) {
	$output = htmlentities($text);
	
	return $output;
}
echo convertTextFromEditor('<b>asdf</b>');
?>